package ycl.common.models.req.login;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录
 *
 * @author YCL
 * @date 2021-06-16 23:05:31
 */
@Data
@ApiModel("登录")
public class LoginReq {

	@Schema(description = "账号")
	@NotBlank(message = "账号不能为空")
	private String account;

	@Schema(description = "验证码")
	@NotBlank(message = "验证码不能为空")
	private String authCode;
}
